using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ClientTest.Services;

namespace ClientTest
{
    public partial class TestForm : Form
    {
        public TestForm()
        {
            InitializeComponent();
        }

        private FaultTolerantCoolService service;
        public FaultTolerantCoolService Service
        {
            get
            {
                if (service == null) service = new FaultTolerantCoolService();
                return service;
            }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show(Service.HelloWorld());
        }
    }
}